@extends('layout.index')
@section('title', '订单修改')
@section('content')
  <div class="mws-panel grid_8">
        <div class="mws-panel-header">
          <span>订单修改</span>
        </div>
             <div class="mws-panel-body no-padding">
             	<form action="/admin/order/update" method="post" class="mws-form">

             	@if(count($errors)>0)
					<div class="mws-form-message error">
						修改失败
						<ul>
							@foreach ($errors->all() as $error)
								<li>{{ $error }}</li>
							@endforeach
						</ul>
					</div>
             	@endif

             		<div class="mws-form-row">
                        <label class="mws-form-label">订单状态</label>
                        <div class="mws-form-item">
                            <select name="status" class="small required large">
                                <option value="1">已下单</option>
                                <option value="2">已付款</option>
                                <option value="3">已发货</option>
                                <option value="4">已收货</option>
                                <option value="5">已退单</option>
                                <option value="6">订单已完成</option>
                            </select>
                        </div>
                    </div>
                    <input type="hidden" name="id" value="{{$orderinfo->id}}">
             		{{csrf_field()}}
             		<div class="mws-button-row">
             			<input type="submit" class="btn btn-primary" value="提交">
             			
             		</div>
             	</form>
             </div>    	
        </div> 
@endsection

